﻿using System;
using System.Collections.Generic;

using InfoGenerateSystem.Domain;

namespace InfoGenerateSystem.Service.Interfaces
{
    /// <summary>
    /// 表图生成服务接口
    /// 
    /// 创建人:     王昊
    /// 创建时间:   2009-04-28
    /// 
    /// </summary>
    public interface IDataSetToImage
    {
        string Directory { get; set; }

        string ConfigFilePath { get; set; }

        Int32 ThreadCount { get; }

        IList<TblbLabel> GetLabelList();

        IList<TblbLabel> GetLabelList(String directory, String configFilePath);

        IList<TblbLabel> ReloadLabelList();

        TblbLabel GetLabelByID(Int64 labelID);

        ExportImageConfig GetExportImageConfig();

        void GoExportImage();
        void ExportAccountImages();
        void ExportSecurityImages();

        void DeleteBeforeRecords(DateTime time);

        void SaveExportImageConfig(ExportImageConfig eic, IList<TblbLabel> labelList);
    }
}
